<?php

namespace @namespace\Controller;

use system\Model\Menus;
use system\Model\Notificacoes;

class IndexController extends @moduleAppController {

    public function indexAction(){
        $model = new Menus();
        $notification = new Notificacoes();
        $this->set("rank", $model->getRank());
        $this->set("notification", $notification->getLastNotification());
        $this->render('index');
    }

}

?>